var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var schema = new mongoose.Schema({ 
    belongId:String,
    content:String,
	appraiser:String,
	date: { type: Date, default: Date.now }
 });
schema.plugin(mongoosePaginate);
var Comments = mongoose.model('Comments',schema,'Comment'); // Model.paginate()
module.exports = Comments;